﻿using System;

namespace QDT.Core.Projects
{
    public class ProjectImage:Entity
    {
        public ProjectImage() {

            CreateTime = DateTime.Now;
            Sort = 0;
        }

        public ProjectImage(int pid,string title,string photo,int sort=0):this() {

            LoanId = pid;
            Title = title;
            Photo = photo;
            Sort = sort;
        }

        public int LoanId { get; set; }

        public string Title { get; set; }

        /// <summary>
        /// 缩略图
        /// </summary>
        public string Thumbnail { get; set; }

        /// <summary>
        /// 大图
        /// </summary>
        public string Photo { get; set; }

        public int Sort { get; set; }

        public DateTime CreateTime { get; set; }

        public int AgencyId { get; set; }
    }
}
